<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/static/js/jquery-3.1.1.min.js"></script>
    <script src="/static/js/vue.js"></script>
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>

</head>
<body>

 <div id="myApp" >
        <el-input ></el-input>
       <el-button type="success" icon="el-icon-message" round @click="send">邮箱</el-button>
 </div>

</body>
<script>
    //创建vue实例
     new Vue({
         el:"#myApp", //绑定元素
         methods:{ //定义函数
              send(){
                  //发送ajax请求
                  $.ajax({
                       url:"/send/",
                       data:{"name":"张三"},
                       success:function (rs){//回调函数，接收服务端发送的数据
                           console.log(rs);
                       }
                  })
              }
         }
     })

</script>
</html>